#hisi_v500 系列
set(tools /home/baiytao/Ingenic/Zeratul/tools/toolchain/gcc_472/mips-gcc472-glibc216-64bit/)
#set(tools /opt/Ingenic/Zeratul/tools/toolchain/gcc_472/mips-gcc472-glibc216-64bit/)

set(CMAKE_C_COMPILER ${tools}/bin/mips-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER ${tools}/bin/mips-linux-gnu-g++)

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)

LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/lib/lib_t31)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include/)

#add_definitions(-D_HAVE_LUA_EXTERN_)
